package com.product.system.controller;


import com.product.system.domain.response.ArgpMachiningTask;
import com.product.system.service.ArgpMachiningTaskService;
import com.product.system.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("machiningtask")
public class ArgpMachiningTaskController {




    @Autowired
    ArgpMachiningTaskService argpMachiningTaskService;


    @GetMapping("machiningTaskList")
    public Result machiningTaskList() {
        List<ArgpMachiningTask> list = argpMachiningTaskService.machiningTaskList();
        return Result.success(list);
    }













}
